i2c: mvtwsi: Streamline code and add documentation
author[email protected] <[email protected]>
Thu, 21 Jul 2016 09:57:02 +0000 (11:57 +0200)
committerHeiko Schocher <[email protected]>
Tue, 26 Jul 2016 08:19:16 +0000 (10:19 +0200)
commitdfc3958cd3cce33e16cefec36f670d6202e50e4f
tree05bcff94b173fadd7ac37a9c44593803fd1b238e
parent9ec43b0c3fb0ee65772001b84db9ada2af7e104d
i2c: mvtwsi: Streamline code and add documentation

Convert groups of logically connected preprocessor defines into proper
enums, one macro into an inline function, and add documentation
to/extend existing documentation of these items.

Signed-off-by: Mario Six <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
drivers/i2c/mvtwsi.c